<%@page import="com.model.UserTable"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生管理系统</title>
<style type="text/css">
html,body{ height:100%;}
a{text-decoration:none;margin:40px;line-height:40px;}
a:hover { color:skyblue; }
.second a{
    margin:0;
    color:gray;
}
    .second .line{
        height: 25px;
        text-align:left;
        line-height:30px;
        margin-left: 20px;
    }
    .top{
        border-bottom: 1px solid gray;
        line-height: 35px;
        padding-left:15px;
    }
    .ss{
        background-color: #fff;
        font-size:14px;
        text-align:left;
        border-radius:5px;
        font-size: 13px;
        height: 150px;
    }
</style>
</head>
<jsp:include page="islogin.jsp"></jsp:include>
<body style="margin:0;">
	<% UserTable user = (UserTable)session.getAttribute("user"); %>
	 <table border="0" style="width:100%;height:100%;padding:0; ">
        <tr height="10%">
            <td style="text-align:center;border:0;background-size:100% 100%;background-color:#e4e4e4;border-bottom:1px solid #eee;box-shadow: 1px 1px #e4e4e4" colspan="2">
                <div class="logo"><img src="images/biaozhi.png" style="float:left;"></div>
                <h1 style="float:left;margin-left:10px;">学生信息管理系统</h1>
                <div class="right" style="position:absolute;right:20px;float:left;font-size:12px;color:gray;">
                    <div style="float: left;margin-top:60px;"><% if(user!=null){ %>当前用户：<%=user.getUsername()%><br /><%} %></div>
                    <a href="exit.jsp" style="color:black;float:left;margin:47px 10px 0 20px;">退出登录</a><br />
                </div>
            </td>
        </tr>

        <tr height="70%">
            <td class="second" valign="top" style="width:15%;height:100%;border-right:1px solid #eee;background-color: #f2f2f2;padding:17px 10px">
                <div class="ss" style="">
                    <div class="top" style="text-align:left;height:35px;">学生管理模块</div>
                    <div class="line"><a href="displayInfo.jsp" target="main_right" >查看学生信息</a><br /></div>
                    <div class="line"><a href="inputInfo.jsp" target="main_right">录入学生信息</a><br /></div>
                    <div class="line"><a href="modifyInfo.jsp" target="main_right">修改学生信息</a><br /></div>
                    <div class="line"><a href="deleteInfo.jsp" target="main_right" >删除学生信息</a><br /></div>
                </div>
                <div class="ss" style="margin-top:20px;">
                    <div class="top" style="text-align:left;height:35px;">教师管理模块</div>
                    <div class="line"><a href="displayTeacher.jsp" target="main_right">查看教师信息</a><br></div>
                    <div class="line"><a href="inputTeacherInfo.jsp" target="main_right">录入教师信息</a><br /></div>
                    <div class="line"><a href="modifyTeacherInfo.jsp" target="main_right">修改教师信息</a><br /></div>
                    <div class="line"><a href="deleteTeacherInfo.jsp" target="main_right" >删除教师信息</a><br /></div>
                </div>
                <div class="ss" style="margin-top:20px;">
                    <div class="top" style="text-align:left;height:35px;">课程管理模块</div>
                    <div class="line"><a href="displayCourse.jsp" target="main_right">查看课程信息</a><br></div>
                    <div class="line"><a href="inputCourseInfo.jsp" target="main_right">录入课程信息</a><br /></div>
                    <div class="line"><a href="modifyCourseInfo.jsp" target="main_right">修改课程信息</a><br /></div>
                    <div class="line"><a href="deleteCourseInfo.jsp" target="main_right" >删除课程信息</a><br /></div>
                </div>
            </td>
            <td valign="top" style="width:85%;height:100%;margin:15px;border:1px solid #eee;">
                <iframe name="main_right" frameborder="0" width="100%" height="100%" src="displayInfo.jsp"></iframe>
            </td>
        </tr>
        <tr height="10%">
            <td style="background-color:#f4f4f4;text-align:center;font-size:small" colspan="2">©陕西师范大学计算机科学学院软件工程1502班</td>
        </tr>
    </table>
</body>
</html>